<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>巡逻队添加页面</title>
  <link rel="stylesheet" href="../../../yl/index.css" />
  <!-- 布局样式 -->
  <link rel="stylesheet" href="../../../yl/style.css" />
  <link rel="stylesheet" href="../../../style/wangeditor.css" />
  <link rel="stylesheet" href="../../../yl/mobile.css" />
  <link rel="stylesheet" href="../../../yl/easyui.css" />
  <link rel="stylesheet" href="../../../yl/icon.css" />
</head>

<body>
  <!-- <div id="app"> -->
  <div class="easyui-navpanel" id="app" v-cloak>
    <header>
      <div class="m-toolbar">
        <div class="m-title">
          {{action=='Add'?'添加巡逻队信息':action=='Modify'?'修改巡逻队信息':''}}
        </div>
      </div>
    </header>
    <div class="easyui-navpanel panel-body panel-body-nobottom panel-body-noborder" style="height: 3000px"
      id="MainTable" ref="MainTable"
      :data-options="JSON.stringify({ 'TableName': 'patrol_team', 'form': 'dataForm' ,'primary_key':'team_SerialNumber' })">
      <el-form :model="dataForm" ref="form" inline-message="true" style="width: 100%">
        <el-descriptions :column="1" size="large" border>
          <el-descriptions-item>
            <template #label>
              <div class="cell-item">巡逻队名称</div>
            </template>
            <el-form-item prop="team_name" :rules="[{ required: true, message: '请输入巡逻队名称', trigger: 'blur' }]">
              <el-input ref="team_name" v-model="dataForm.team_name" class="borderless-input" placeholder="请输入巡逻队名称" />
            </el-form-item>
          </el-descriptions-item>
          <el-descriptions-item>
            <template #label>
              <div class="cell-item">类别</div>
            </template>
            <el-form-item prop="Patrol_category" :rules="[{ required: true, message: '请选择类别', trigger: 'change' }]">
              <el-select v-model="dataForm.Patrol_category" placeholder="请选择" filterable>
                <el-option v-for="item in category" :key="item.Category_SerialNumber" :label="item.Category_Name"
                  :value="item.Category_SerialNumber">
                </el-option>
              </el-select>
            </el-form-item>
          </el-descriptions-item>
          <el-descriptions-item>
            <template #label>
              <div class="cell-item">所驻村社</div>
            </template>
            <el-form-item prop="Village_Number" :rules="[{ required: true, message: '请选择所驻村社', trigger: 'change' }]">
              <el-cascader :disabled="city1.length == 0" @change="changeVillage" class="borderless-input" v-model="qwer"
                filterable :props="{value:'ProvinceNumber',label:'Province',children:'children'}" placeholder="请选择村行政区"
                :options="city1" style="width: 100%"></el-cascader>
            </el-form-item>
          </el-descriptions-item>

          <!-- <el-descriptions-item>
            <template #label>
              <div class="cell-item">负责人</div>
            </template>
            <el-form-item prop="Captain_Number" :rules="[{ required: true, message: '请选择负责人', trigger: 'change' }]"
              prop="Captain_Number">
              <yl-select :options="member" :props="{label:'Personal_Name',value:'ID_Card_Number'}" clearable 
                v-model="dataForm.Captain_Number" placeholder="请选择人员" @change="handleSelectMember">
                <el-table-column prop="ID_Card_Number" width="180" show-overflow-tooltip label="身份证号"></el-table-column>
                <el-table-column prop="Personal_Name" show-overflow-tooltip label="姓名"></el-table-column>
                <el-table-column prop="Contact_Phone" label="联系方式"></el-table-column>
              </yl-select>
            </el-form-item>
          </el-descriptions-item>
          <el-descriptions-item>
            <template #label>
              <div class="cell-item">联系电话</div>
            </template>
            <el-form-item prop="Contact_Phone" :rules="[{ required: true,  message: '请输入联系电话', trigger: 'blur' }]">
              <el-input v-model="dataForm.Contact_Phone" class="borderless-input" placeholder="请输入联系电话" />
            </el-form-item>
          </el-descriptions-item> -->

      </el-form>
    </div>
    <footer class="botton-ann">
      <el-button @click="goBack">返回</el-button>
      <el-button type="primary" plain  :loading="loading" @click="handleSubmitbyCustomer">提交</el-button>
    </footer>
  </div>
</body>
<script src="../../../utils/utils.js"></script>
<script src="../../../config/config.js"></script>
<script src="../../../utils/compressor.js"></script>
<script src="../../../utils/wangeditor.js"></script>
<script src="../../../utils/mixins.js"></script>
<script src="../../../yl/vue.js"></script>
<script src="../../../yl/index.js"></script>
<script src="../../../yl/zh-cn.mjs"></script>
<script src="../../../yl/index.iife.min.js"></script>
<script src="../../../yl/jquery.min.js"></script>
<script src="../../../utils/jquery.cookie.js"></script>
<script src="../../../yl/jquery.easyui.min.js"></script>
<script src="../../../yl/jquery.easyui.mobile.js"></script>
<script src="../../../yl/moment.min.js"></script>
<script src="../../../api/request.js"></script>
<script src="js/add.js"></script>

</html>